<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Pepr3D: D:/Home/MFF/1-Mgr/projekt/pepr3d/src/ui/Toolbar.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="pepr3d_icon.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Pepr3D
   &#160;<span id="projectnumber">v1.0</span>
   </div>
   <div id="projectbrief">Pepr3D is a 3D graphics editor designed for FDM printing</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_toolbar_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Toolbar.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;IconsMaterialDesign.h&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;peprimgui.h&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;commands/CommandManager.h&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;imgui_internal.h&quot;</span>  <span class="comment">// must be included after peprimgui.h! beware of clang-format, keep the empty line above!</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;tools/Tool.h&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacepepr3d.html">pepr3d</a> {</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">class </span>MainApplication;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classpepr3d_1_1_toolbar.html">   15</a></span>&#160;<span class="keyword">class </span><a class="code" href="classpepr3d_1_1_toolbar.html">Toolbar</a> {</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;   <span class="keyword">public</span>:</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classpepr3d_1_1_toolbar.html">Toolbar</a>(<a class="code" href="classpepr3d_1_1_main_application.html">MainApplication</a>&amp; app) : mApplication(app) {}</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classpepr3d_1_1_toolbar.html#a05d027cd466b54792502653043a8db60">   20</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classpepr3d_1_1_toolbar.html#a05d027cd466b54792502653043a8db60">getHeight</a>() {</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        <span class="keywordflow">return</span> mHeight;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    }</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classpepr3d_1_1_toolbar.html#ab84f478320ce74f523bede52c0966271">draw</a>();</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;   <span class="keyword">private</span>:</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="classpepr3d_1_1_main_application.html">MainApplication</a>&amp; mApplication;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    std::size_t mSelectedButtonIndex = 3;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keywordtype">float</span> mHeight = 50.0f;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classpepr3d_1_1_toolbar.html#a1d55b21ed7022216756d4d156c8f1e52">drawSeparator</a>();</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structpepr3d_1_1_toolbar_1_1_button_properties.html">   37</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structpepr3d_1_1_toolbar_1_1_button_properties.html">ButtonProperties</a> {</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        std::string label = ICON_MD_HELP;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <span class="keywordtype">bool</span> isEnabled = <span class="keyword">true</span>;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        <span class="keywordtype">bool</span> isDropDown = <span class="keyword">false</span>;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="keywordtype">bool</span> isToggled = <span class="keyword">false</span>;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    };</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Callback&gt;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classpepr3d_1_1_toolbar.html#a8ec26251465c349def3cb032370bdf25">drawButton</a>(<a class="code" href="structpepr3d_1_1_toolbar_1_1_button_properties.html">ButtonProperties</a>&amp; props, Callback onPressed);</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classpepr3d_1_1_toolbar.html#aceb99e5459d3b1ba1d557caeec2e57d1">drawFileDropDown</a>();</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classpepr3d_1_1_toolbar.html#afd2e255728e6b0962da017f3ee1822bc">drawUndoRedo</a>();</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keyword">using</span> ToolsVector = std::vector&lt;std::unique_ptr&lt;Tool&gt;&gt;;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classpepr3d_1_1_toolbar.html#a88b084de711b74735348315189c01fe7">drawToolButtons</a>();</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classpepr3d_1_1_toolbar.html#a9366ee163dfe041a2661fe5eb664a325">drawToolButton</a>(ToolsVector::iterator tool);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;};</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Callback&gt;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classpepr3d_1_1_toolbar.html#a8ec26251465c349def3cb032370bdf25">   64</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classpepr3d_1_1_toolbar.html#a8ec26251465c349def3cb032370bdf25">Toolbar::drawButton</a>(<a class="code" href="structpepr3d_1_1_toolbar_1_1_button_properties.html">ButtonProperties</a>&amp; props, Callback onPressed) {</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    ImGuiContext&amp; g = *GImGui;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keyword">const</span> ImGuiStyle&amp; style = g.Style;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keyword">const</span> std::string label = props.label + (props.isDropDown ? ICON_MD_ARROW_DROP_DOWN : <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keyword">const</span> ImVec2 label_size = ImGui::CalcTextSize(label.c_str());</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keyword">const</span> ImGuiID <span class="keywordtype">id</span> = ImGui::GetCurrentWindow()-&gt;GetID((props.label + <span class="stringliteral">&quot;##toolbar&quot;</span>).c_str());</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    ImVec2 pos = ImGui::GetCursorPos();</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    ImVec2 size =</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        ImGui::CalcItemSize(glm::ivec2(mHeight * (props.isDropDown ? 1.5f : 1.0f), mHeight),</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;                            label_size.x + style.FramePadding.x * 2.0f, label_size.y + style.FramePadding.y * 2.0f);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keyword">const</span> ImRect bb(pos, ImVec2(pos.x + size.x, pos.y + size.y));</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    ImGui::ItemSize(bb, style.FramePadding.y);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordflow">if</span>(!ImGui::ItemAdd(bb, <span class="keywordtype">id</span>)) {</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    }</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordtype">bool</span> isHovered, isHeld;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordflow">if</span>(ImGui::ButtonBehavior(bb, <span class="keywordtype">id</span>, &amp;isHovered, &amp;isHeld) &amp;&amp; props.isEnabled) {</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        onPressed();</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    }</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <span class="comment">// Render</span></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    ImU32 col = ImGui::GetColorU32((isHovered &amp;&amp; isHeld) ? ImGuiCol_ButtonActive</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;                                                         : isHovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button);</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordflow">if</span>(props.isToggled) {</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        col = ImGui::ColorConvertFloat4ToU32(ci::ColorA::hex(0x017BDA));</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        ImGui::PushStyleColor(ImGuiCol_Text, ci::ColorA::hex(0xFFFFFF));</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    }</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keywordflow">if</span>(!props.isEnabled) {</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        col = ImGui::GetColorU32(ImGuiCol_Button);</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        ImGui::PushStyleColor(ImGuiCol_Text, ci::ColorA::hex(0xD9D9D9));</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    }</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    ImGui::RenderNavHighlight(bb, <span class="keywordtype">id</span>);</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    ImGui::RenderFrame(bb.Min, bb.Max, col, <span class="keyword">true</span>, style.FrameRounding);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    ImGui::RenderTextClipped(ImVec2(bb.Min.x + style.FramePadding.x, bb.Min.y + style.FramePadding.y),</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                             ImVec2(bb.Max.x - style.FramePadding.x, bb.Max.y - style.FramePadding.y), label.c_str(),</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                             <span class="keyword">nullptr</span>, &amp;label_size, style.ButtonTextAlign, &amp;bb);</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordflow">if</span>(props.isToggled) {</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        ImGui::PopStyleColor();</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    }</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keywordflow">if</span>(!props.isEnabled) {</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        ImGui::PopStyleColor();</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    }</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordflow">return</span>;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;}</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;}  <span class="comment">// namespace pepr3d</span></div><div class="ttc" id="classpepr3d_1_1_toolbar_html_a8ec26251465c349def3cb032370bdf25"><div class="ttname"><a href="classpepr3d_1_1_toolbar.html#a8ec26251465c349def3cb032370bdf25">pepr3d::Toolbar::drawButton</a></div><div class="ttdeci">void drawButton(ButtonProperties &amp;props, Callback onPressed)</div><div class="ttdoc">Draws a clickable and selectable button in the Toolbar according to the ButtonProperties.</div><div class="ttdef"><b>Definition:</b> Toolbar.h:64</div></div>
<div class="ttc" id="classpepr3d_1_1_toolbar_html_a9366ee163dfe041a2661fe5eb664a325"><div class="ttname"><a href="classpepr3d_1_1_toolbar.html#a9366ee163dfe041a2661fe5eb664a325">pepr3d::Toolbar::drawToolButton</a></div><div class="ttdeci">void drawToolButton(ToolsVector::iterator tool)</div><div class="ttdoc">Draws a single button for a specified Tool (an iterator to the Tool).</div><div class="ttdef"><b>Definition:</b> Toolbar.cpp:156</div></div>
<div class="ttc" id="classpepr3d_1_1_toolbar_html_a05d027cd466b54792502653043a8db60"><div class="ttname"><a href="classpepr3d_1_1_toolbar.html#a05d027cd466b54792502653043a8db60">pepr3d::Toolbar::getHeight</a></div><div class="ttdeci">float getHeight()</div><div class="ttdoc">Returns the height.</div><div class="ttdef"><b>Definition:</b> Toolbar.h:20</div></div>
<div class="ttc" id="classpepr3d_1_1_toolbar_html_a88b084de711b74735348315189c01fe7"><div class="ttname"><a href="classpepr3d_1_1_toolbar.html#a88b084de711b74735348315189c01fe7">pepr3d::Toolbar::drawToolButtons</a></div><div class="ttdeci">void drawToolButtons()</div><div class="ttdoc">Draws buttons of all Tool instances.</div><div class="ttdef"><b>Definition:</b> Toolbar.cpp:138</div></div>
<div class="ttc" id="namespacepepr3d_html"><div class="ttname"><a href="namespacepepr3d.html">pepr3d</a></div><div class="ttdoc">Fix for CGAL bugs in polygon with holes verification Contained in CGAL PR #3688, likely to be in 4....</div><div class="ttdef"><b>Definition:</b> CmdColorManager.h:9</div></div>
<div class="ttc" id="classpepr3d_1_1_toolbar_html_a1d55b21ed7022216756d4d156c8f1e52"><div class="ttname"><a href="classpepr3d_1_1_toolbar.html#a1d55b21ed7022216756d4d156c8f1e52">pepr3d::Toolbar::drawSeparator</a></div><div class="ttdeci">void drawSeparator()</div><div class="ttdoc">Draws a vertical separator.</div><div class="ttdef"><b>Definition:</b> Toolbar.cpp:50</div></div>
<div class="ttc" id="classpepr3d_1_1_toolbar_html_afd2e255728e6b0962da017f3ee1822bc"><div class="ttname"><a href="classpepr3d_1_1_toolbar.html#afd2e255728e6b0962da017f3ee1822bc">pepr3d::Toolbar::drawUndoRedo</a></div><div class="ttdeci">void drawUndoRedo()</div><div class="ttdoc">Draws the Undo and Redo buttons.</div><div class="ttdef"><b>Definition:</b> Toolbar.cpp:110</div></div>
<div class="ttc" id="classpepr3d_1_1_toolbar_html_aceb99e5459d3b1ba1d557caeec2e57d1"><div class="ttname"><a href="classpepr3d_1_1_toolbar.html#aceb99e5459d3b1ba1d557caeec2e57d1">pepr3d::Toolbar::drawFileDropDown</a></div><div class="ttdeci">void drawFileDropDown()</div><div class="ttdoc">Draws a File drop down menu.</div><div class="ttdef"><b>Definition:</b> Toolbar.cpp:57</div></div>
<div class="ttc" id="classpepr3d_1_1_toolbar_html_ab84f478320ce74f523bede52c0966271"><div class="ttname"><a href="classpepr3d_1_1_toolbar.html#ab84f478320ce74f523bede52c0966271">pepr3d::Toolbar::draw</a></div><div class="ttdeci">void draw()</div><div class="ttdoc">Draws the Toolbar using ImGui.</div><div class="ttdef"><b>Definition:</b> Toolbar.cpp:9</div></div>
<div class="ttc" id="structpepr3d_1_1_toolbar_1_1_button_properties_html"><div class="ttname"><a href="structpepr3d_1_1_toolbar_1_1_button_properties.html">pepr3d::Toolbar::ButtonProperties</a></div><div class="ttdoc">Properties of a clickable and selectable button in the Toolbar.</div><div class="ttdef"><b>Definition:</b> Toolbar.h:37</div></div>
<div class="ttc" id="classpepr3d_1_1_toolbar_html"><div class="ttname"><a href="classpepr3d_1_1_toolbar.html">pepr3d::Toolbar</a></div><div class="ttdoc">A top part of the user interface that shows a File menu, Undo, Redo, and all tools.</div><div class="ttdef"><b>Definition:</b> Toolbar.h:15</div></div>
<div class="ttc" id="classpepr3d_1_1_main_application_html"><div class="ttname"><a href="classpepr3d_1_1_main_application.html">pepr3d::MainApplication</a></div><div class="ttdoc">The main Cinder-based application, represents a window, handles events, thread pool,...</div><div class="ttdef"><b>Definition:</b> MainApplication.h:38</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_da5c6b39c0a2f54e57df6799511cd3ab.html">ui</a></li><li class="navelem"><b>Toolbar.h</b></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
